#!/usr/bin/env bash                                                                                                                                                                

sudo dmesg | grep 'Encryption Features active: SME' > /dev/null
if [ $? -eq 0 ];then
    echo "SME enabled!"
else
    echo "SME disabled!"
fi

sudo dmesg | grep 'sev enabled' > /dev/null
if [ $? -eq 0 ];then
    echo "CSV enabled!"
else
    echo "CSV disabled!"
fi
